package test.administrator.example.com.mvptest1;

import android.support.annotation.NonNull;

import test.administrator.example.com.mvptest1.framework.support.viewstate.fragment.MvpViewStateFragment;
import test.administrator.example.com.mvptest1.login.LoginModel;
import test.administrator.example.com.mvptest1.login.LoginPresenter;
import test.administrator.example.com.mvptest1.login.LoginView;

/**
 * Created by thinkpad on 2018/8/9.
 */

public class LoginFragment extends MvpViewStateFragment<LoginView<LoginModel>, LoginPresenter, LoginViewState> implements LoginView<LoginModel> {

	@NonNull
	@Override
	public LoginViewState createViewState() {
		return new LoginViewState();
	}

	@Override
	public void onViewStateInstanceRestored(boolean instanceStateRetained) {

	}

	@Override
	public void onNewViewStateInstance() {

	}

	@Override
	public void onLoginResult(Object result) {

	}

	@Override
	public void loadData(boolean isPullRefresh) {

	}

	@Override
	public void showLoading(boolean isPullToRefresh) {

	}

	@Override
	public void showContent() {

	}

	@Override
	public void bindData(LoginModel data) {

	}

	@Override
	public void showError(Throwable e, boolean isPullToRefresh) {

	}

}
